<template>
    <div class="nextpage-body">
        <div class="nextpage-body">
            <button type="button" class="btn btn-success first-page">首页</button>
            <button type="button" class="btn btn-success pre-page">上一页</button>
            <button type="button" class="btn btn-success next-page">下一页</button>
            <button type="button" class="btn btn-success last-page">尾页</button>
            <span class="panel panel-default page-info">每页 20 条，当前页：5， 总页数： 100</span>
            <input type="text" class="panel panel-default input-page" placeholder="输入..."/>
            <button class="btn btn-success submit-page" type="button">跳转</button>
        </div>
    </div>
</template>

<script>
    module.exports = {
        data: function () {
            return {}
        },
        relady: function () {

        }
    }
</script>

<style>
    .nextpage-body {
        text-align: center;
        height: 40px;
    }

    .nextpage-body .first-page,
    .nextpage-body .pre-page,
    .nextpage-body .next-page,
    .nextpage-body .last-page,
    .nextpage-body .submit-page {
        width: 100px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .nextpage-body .page-info {
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 35px;
    }

    .nextpage-body .input-page {
        display: inline-block;
        padding: 0 5px 0 5px;
        width: 65px;
        height: 35px;
        line-height: 35px;
    }
</style>